<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div id="root"></div>


  <script crossorigin src="https://unpkg.com/react@18.3.1/umd/react.development.js"></script>
  <script crossorigin src="https://unpkg.com/react-dom@18.3.1/umd/react-dom.development.js"></script>
  <script crossorigin src="https://unpkg.com/babel-standalone@6.26.0/babel.min.js"></script>

  <script type="text/babel">

    class App extends React.Component {
      constructor() {
        super()
      }
      render() {
        let element = /*#__PURE__*/ React.createElement(
          "div",
          null,
          /*#__PURE__*/ React.createElement(
            "div",
            {
              className: "header"
            },
            "header"
          ),
          /*#__PURE__*/ React.createElement(
            "div",
            {
              className: "main"
            },
            /*#__PURE__*/ React.createElement(
              "div",
              {
                className: "banner"
              },
              "banner"
            ),
            /*#__PURE__*/ React.createElement("div", null, "\u6570\u636E\u5217\u8868")
          ),
          /*#__PURE__*/ React.createElement(
            "div",
            {
              className: "footer"
            },
            "footer"
          )
        )
        console.log(element)
        return element
      }
    }
    
    const root = ReactDOM.createRoot(document.querySelector('#root'))
    root.render(<App/>)
  </script>
</body>
</html>